
angular.module('myApp')
.controller('PopconfirmCtrl', ['$scope', function($scope) {
  $scope.confirm = function() {
    console.log('确认删除操作');
  };
  $scope.cancel = function() {
    console.log('取消操作');
  };
}]);